package com.telkomsigma.spring.hibernate.persistence.domain;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the team_capt database table.
 * 
 */
@Entity
@Table(name="team_capt")
public class TeamCapt implements Serializable {
	private static final long serialVersionUID = 1L;
	private int playerId;
	private int teamId;

    public TeamCapt() {
    }


	@Id
	@Column(name="player_id", unique=true, nullable=false)
	public int getPlayerId() {
		return this.playerId;
	}

	public void setPlayerId(int playerId) {
		this.playerId = playerId;
	}


	@Column(name="team_id", nullable=false)
	public int getTeamId() {
		return this.teamId;
	}

	public void setTeamId(int teamId) {
		this.teamId = teamId;
	}

}